/* ═══════════════════════════════════════════════════════════════════════════
   DARS-ON | SISTEMA DE DISEÑO MODERNO CON GSAP
   Optimizado para desktop y móvil | Animaciones suaves | Colores vibrantes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────────
   1. RESET GLOBAL & VARIABLES
   ─────────────────────────────────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    /* Colors */
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --secondary: #a78bfa;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --dark-bg: #0f0f1f;
    --dark-card: #1a1a2e;
    --text-light: #e0e0e0;
    --text-lighter: #e2d9ff;
    --text-muted: #a0a0a0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Sizing */
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bezier: cubic-bezier(0.23, 1, 0.32, 1);
}



body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f3a 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.loaded {
    opacity: 1;
}

/* =============================================
   NAVBAR
   ============================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    cursor: pointer;
    user-select: none;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
    cursor: pointer;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-menu a.active {
    color: var(--secondary);
}

.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--secondary);
}


/* =========================== HERO SECTION =========================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 4%;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.12) 0%, transparent 55%),
                radial-gradient(ellipse at 15% 80%, rgba(236,72,153,0.08) 0%, transparent 45%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), transparent);
}

.hero-content { position: relative; z-index: 1; width: 100%; max-width: 100%; box-sizing: border-box; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.15)); border: 1px solid rgba(139,92,246,0.5); border-radius: 50px; padding: 0.6rem 1.5rem; font-size: 0.85rem; font-weight: 700; color: #fff; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.5rem; animation: fadeInDown 0.8s ease both; box-shadow: 0 4px 15px rgba(139,92,246,0.3), inset 0 1px 0 rgba(255,255,255,0.1); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 60%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -1px; animation: fadeInDown 1s ease 0.1s both; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 100%; line-height: 1.8; animation: fadeInUp 1s ease 0.2s both; width: 100%; }
.cta-buttons { display: flex; gap: 1.5rem; flex-wrap: wrap; animation: fadeInUp 1s ease 0.4s both; }

.hero-visual-right { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; animation: fadeInRight 1s ease 0.3s both; }
.hero-printer-wrap { position: relative; width: 350px; height: 350px; }
.hero-glow-bg { position: absolute; inset: -60px; background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, rgba(167,139,250,0.1) 45%, transparent 70%); border-radius: 50%; animation: pulseGlow 3s ease-in-out infinite; }
.hero-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(139,92,246,0.35); animation: spinRing 9s linear infinite; }
.hero-orbit::before { content: ''; position: absolute; top: -6px; left: calc(50% - 6px); width: 12px; height: 12px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 12px var(--primary); }
.hero-orbit-2 { inset: 30px; border-color: rgba(236,72,153,0.25); animation: spinRing 14s linear infinite reverse; }
.hero-orbit-2::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-center-box { position: absolute; inset: 55px; background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(236,72,153,0.08)); border-radius: 24px; border: 1px solid rgba(139,92,246,0.45); display: flex; align-items: center; justify-content: center; font-size: 5.5rem; box-shadow: 0 0 50px rgba(139,92,246,0.25), inset 0 0 30px rgba(139,92,246,0.08); animation: floatCore 4s ease-in-out infinite; }
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--text-muted); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; animation: fadeIn 2s ease 1s both; cursor: pointer; transition: color var(--transition); z-index: 2; }
.scroll-indicator:hover { color: var(--secondary); }
.scroll-arrow { width: 22px; height: 22px; border-right: 2px solid rgba(167,139,250,0.7); border-bottom: 2px solid rgba(167,139,250,0.7); transform: rotate(45deg); animation: bounceDown 2s ease-in-out infinite; }

/* =========================== SECTION TITLE =========================== */
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; margin-bottom: 3rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -1px; }

/* =========================== ABOUT SECTION =========================== */
.about { padding: 5rem 2rem; scroll-margin-top: 0; }
.about-container { max-width: 1200px; margin: 0 auto; }
.about-content { display: flex; flex-direction: row; gap: 3rem; align-items: center; }
.about-text { flex: 1; min-width: 0; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--secondary); font-weight: 800; }
.about-text p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.about-image { flex: 1; min-width: 0; width: 100%; height: 350px; background: rgba(15,15,31,0.5); border: 2px solid var(--secondary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; box-shadow: 0 0 40px rgba(139,92,246,0.2); }
.about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 2px); }

/* =========================== PRODUCTS SECTION =========================== */
.products { padding: 5rem 2rem; background: rgba(0,0,0,0.3); scroll-margin-top: 0; }
.products-container { max-width: 1400px; margin: 0 auto; }
.category { margin-bottom: 4rem; }
.category-title { font-size: 2rem; color: var(--secondary); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid rgba(139,92,246,0.2); font-weight: 800; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.product-card { background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.03)); border: 1px solid rgba(139,92,246,0.2); border-radius: var(--radius); overflow: hidden; transition: all 0.4s var(--transition-bezier); cursor: pointer; position: relative; display: flex; flex-direction: column; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent); opacity: 0; transition: opacity var(--transition); z-index: 2; }
.product-card:hover { border-color: var(--secondary); transform: translateY(-8px); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.product-card:hover::before { opacity: 1; }
.product-image-wrapper { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(236,72,153,0.1)); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--transition-bezier), filter 0.4s ease; display: block; filter: brightness(0.9); }
.product-card:hover .product-image { transform: scale(1.08); filter: brightness(1.05); }
.product-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-lighter); }
.product-description { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; flex-grow: 1; }
.product-price { color: var(--accent-light); font-size: 1.3rem; font-weight: 900; }

/* =========================== COMING SOON =========================== */
.coming-soon-container { display: flex; align-items: center; justify-content: center; padding: 3rem 2.5rem; background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(236,72,153,0.15)); border: 2px solid rgba(139,92,246,0.5); border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: 0 0 60px rgba(139,92,246,0.3), inset 0 0 60px rgba(139,92,246,0.1); }
.coming-soon-container::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(139,92,246,0.3) 0%, transparent 60%), radial-gradient(circle at 80% 80%, rgba(236,72,153,0.3) 0%, transparent 60%), radial-gradient(circle at 50% 0%, rgba(167,139,250,0.2) 0%, transparent 60%); pointer-events: none; }
.coming-soon-container::after { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 30%, rgba(236,72,153,0.1) 50%, transparent 70%), linear-gradient(-45deg, transparent 30%, rgba(139,92,246,0.1) 50%, transparent 70%); animation: shimmer 3s ease infinite; pointer-events: none; }
.coming-soon-content { text-align: center; position: relative; z-index: 1; width: 100%; }
.coming-soon-icon { font-size: 4.5rem; margin-bottom: 1.5rem; display: inline-block; animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(139,92,246,0.5)); }
.coming-soon-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; background: linear-gradient(90deg, #ec4899, var(--secondary), var(--primary), #ec4899); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1.5rem; animation: gradientFlow 4s ease infinite; letter-spacing: 1px; word-break: break-word; }
.coming-soon-text { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto 2rem; line-height: 1.9; font-weight: 300; }
.coming-soon-line { width: 120px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); border-radius: 2px; margin: 0 auto 1.5rem; box-shadow: 0 0 20px rgba(139,92,246,0.6); }

/* =========================== MODAL =========================== */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
.modal.active { display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s ease; }
.modal-content { background: var(--dark-card); padding: 2rem; border-radius: var(--radius); max-width: 700px; width: 90%; max-height: 90vh; overflow-y: auto; border: 2px solid var(--secondary); position: relative; animation: slideUp 0.3s ease; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; gap: 1rem; }
.modal-title { font-size: 2rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 900; flex: 1; }
.modal-close { flex-shrink: 0; background: rgba(139,92,246,0.15); border: 1.5px solid rgba(139,92,246,0.5); color: var(--text-light); font-size: 1.2rem; cursor: pointer; transition: all var(--transition); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.modal-close:hover { background: rgba(236,72,153,0.3); border-color: var(--accent); transform: scale(1.1); }
.modal-details { color: var(--text-muted); margin-bottom: 2rem; }
.detail-item { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid rgba(167,139,250,0.1); }
.detail-label { font-weight: 700; color: var(--secondary); }
.detail-value { color: var(--text-light); text-align: right; }
.modal-image { width: 100%; height: 350px; background: #0f0f1e; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 4rem; margin-bottom: 2rem; overflow: hidden; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================== FILAMENTS SECTION =========================== */
.filaments { padding: 5rem 2rem; scroll-margin-top: 0; }
.filaments-container { max-width: 1400px; margin: 0 auto; }
.filaments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.filament-card { background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.03)); border: 2px solid var(--secondary); border-radius: var(--radius-md); padding: 1.5rem; text-align: center; transition: all 0.4s var(--transition-bezier); cursor: pointer; position: relative; }
.filament-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(139,92,246,0.3); border-color: var(--accent); }
.filament-color { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1.5rem; border: 3px solid rgba(255,255,255,0.2); box-shadow: 0 5px 20px rgba(0,0,0,0.3); transition: all var(--transition); }
.filament-card:hover .filament-color { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.filament-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-lighter); }
.filament-type { font-size: 0.9rem; color: var(--text-muted); }
.filaments-coming-soon { margin-top: 3rem; padding: 2.5rem; position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.2)); border: 3px solid rgba(139,92,246,0.7); box-shadow: 0 0 60px rgba(139,92,246,0.5), inset 0 0 50px rgba(139,92,246,0.12); }
.filaments-coming-soon::before { content: ''; position: absolute; inset: -50%; background: radial-gradient(circle at 10% 20%, rgba(139,92,246,0.25) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(236,72,153,0.25) 0%, transparent 50%); pointer-events: none; z-index: 0; }
.filaments-coming-soon-content { position: relative; z-index: 2; text-align: center; }
.filaments-coming-soon-icon { font-size: 3.5rem; display: inline-block; margin-bottom: 1.5rem; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 25px rgba(139,92,246,0.5)); }
.filaments-coming-soon-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; background: linear-gradient(90deg, #ff1493, #ec4899, var(--secondary), var(--primary), #00d9ff); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1.5rem; animation: gradientFlow 8s ease infinite; letter-spacing: 1px; text-transform: uppercase; }
.color-palette-preview { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; filter: drop-shadow(0 0 25px rgba(139,92,246,0.3)); }
.color-dot { width: 50px; height: 50px; border-radius: 50%; animation: colorBounce 2s ease-in-out infinite; box-shadow: 0 10px 35px rgba(0,0,0,0.5), 0 0 25px currentColor; border: 3px solid rgba(255,255,255,0.5); cursor: pointer; transition: all 0.5s var(--transition-bezier); position: relative; }
.color-dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent); opacity: 0.3; }
.color-dot:hover { transform: translateY(-10px); box-shadow: 0 15px 45px rgba(0,0,0,0.6), 0 0 40px currentColor; filter: brightness(1.2); }
.filaments-coming-soon-text { font-size: 1rem; color: var(--text-light); max-width: 600px; margin: 1rem auto; line-height: 1.7; font-weight: 300; }
.filaments-coming-soon-subtext { font-size: 0.9rem; color: #c8d6e5; font-weight: 500; letter-spacing: 0.8px; }

/* =========================== MACHINERY SECTION =========================== */
.machinery { padding: 5rem 2rem; scroll-margin-top: 0; }
.machinery-container { max-width: 1400px; margin: 0 auto; }
.machines-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.machine-card { background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.03)); border: 1px solid rgba(139,92,246,0.2); border-radius: var(--radius); overflow: hidden; transition: all 0.4s var(--transition-bezier); display: flex; flex-direction: column; }
.machine-card:hover { border-color: var(--secondary); transform: translateY(-8px); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.machine-image { width: 100%; height: 220px; background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(236,72,153,0.1)); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; border-bottom: 1px solid rgba(139,92,246,0.15); }
.machine-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.machine-name { font-size: 1.3rem; font-weight: 800; color: var(--secondary); margin-bottom: 0.5rem; }
.machine-model { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; font-style: italic; }
.machine-specs { flex-grow: 1; }
.machine-spec { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid rgba(139,92,246,0.1); font-size: 0.9rem; }
.spec-label { color: var(--text-muted); font-weight: 600; }
.spec-value { color: var(--secondary); text-align: right; font-weight: 700; }
.machine-status { display: inline-block; padding: 0.4rem 0.8rem; background: rgba(139,92,246,0.2); border-radius: 20px; color: var(--secondary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* =========================== CONTACT SECTION =========================== */
.contact { padding: 5rem 2rem; text-align: center; scroll-margin-top: 0; }
.contact-container { max-width: 800px; margin: 0 auto; }
.contact-text { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.8; }
.contact-buttons { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.instagram-btn, .whatsapp-btn { display: inline-flex; align-items: center; gap: 0.7rem; padding: 1rem 2rem; color: white; border: none; border-radius: 50px; font-size: 1.05rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: all var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.instagram-btn { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcaf45); }
.instagram-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 45px rgba(253,29,29,0.4); }
.whatsapp-btn { background: linear-gradient(135deg, #25d366, #128c7e); }
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 45px rgba(37,211,102,0.4); }

/* =========================== FOOTER =========================== */
footer { background: rgba(0,0,0,0.5); padding: 2.5rem 2rem; text-align: center; border-top: 1px solid rgba(139,92,246,0.15); color: var(--text-muted); font-size: 0.9rem; }
footer p { margin: 0; }

/* =========================== UTILITIES =========================== */
.section-animate { opacity: 0; transform: translateY(50px); transition: opacity 0.7s var(--transition-bezier), transform 0.7s var(--transition-bezier); }
.section-animate.visible { opacity: 1; transform: translateY(0); }
.hidden { display: none !important; }

/* =========================== MODAL PRODUCT STYLES =========================== */
.pm-overlay { display: none; position: fixed; inset: 0; background: rgba(4,4,12,0.82); backdrop-filter: blur(10px); z-index: 9999; align-items: center; justify-content: center; padding: 1rem; }
.pm-overlay.active { display: flex; animation: pmFadeIn 0.25s ease; }
.pm-card { background: #0e0e1a; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; width: 100%; max-width: 500px; box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(160,100,255,0.12); animation: pmSlideUp 0.3s cubic-bezier(.22,.68,0,1.1); }
.pm-image-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #13131f; }
.pm-image { width: 100%; height: 100%; }
.pm-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-image-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(14,14,26,0.7) 100%); pointer-events: none; }
.pm-close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); z-index: 2; }
.pm-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.pm-body { padding: 1.5rem 1.8rem; }
.pm-title { font-size: 1.3rem; font-weight: 800; color: #f0eeff; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.pm-desc { font-size: 0.85rem; color: rgba(200,190,230,0.55); margin: 0 0 1.2rem; line-height: 1.5; }
.pm-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; }
.pm-stat { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 0.7rem; }
.pm-stat-icon { font-size: 1rem; }
.pm-stat-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(200,190,230,0.4); }
.pm-stat-value { font-size: 0.9rem; font-weight: 700; color: #e2d9ff; }
.pm-cta { display: block; width: 100%; text-align: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em; padding: 0.9rem; border-radius: 10px; text-decoration: none; transition: all var(--transition); box-shadow: 0 4px 20px rgba(124,58,237,0.35); border: none; cursor: pointer; }
.pm-cta:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 30px rgba(124,58,237,0.5); }


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(236,72,153,0.08) 0%, transparent 45%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139,92,246,0.15);
    border: 1px solid rgba(139,92,246,0.4);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease both;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 1s ease 0.1s both;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 100%;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    animation: fadeInUp 1s ease 0.4s both;
    padding: 0;
}

.hero-stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139,92,246,0.2);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* LADO DERECHO - VISUAL */
.hero-visual-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-printer-wrap {
    position: relative;
    width: 340px;
    height: 340px;
}

.hero-glow-bg {
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, rgba(167,139,250,0.1) 45%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(139,92,246,0.35);
    animation: spinRing 9s linear infinite;
}

.hero-orbit::before {
    content: '';
    position: absolute;
    top: -6px;
    left: calc(50% - 6px);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
}

.hero-orbit-2 {
    inset: 30px;
    border-color: rgba(236,72,153,0.25);
    animation: spinRing 14s linear infinite reverse;
}

.hero-orbit-2::before {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.hero-center-box {
    position: absolute;
    inset: 55px;
    background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(236,72,153,0.08));
    border-radius: 24px;
    border: 1px solid rgba(139,92,246,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    box-shadow: 0 0 50px rgba(139,92,246,0.25), inset 0 0 30px rgba(139,92,246,0.08);
    animation: floatCore 4s ease-in-out infinite;
}

.hero-badge {
    position: absolute;
    background: rgba(15,15,30,0.95);
    border: 1px solid rgba(139,92,246,0.5);
    border-radius: 50px;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--secondary);
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    display: inline-block;
    letter-spacing: 0.2px;
    width: auto;
}

/* Las animaciones de órbita están definidas en index.html */

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 2s ease 1s both;
    transition: color 0.3s;
    z-index: 2;
}

.scroll-indicator:hover {
    color: var(--secondary);
}

.scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(167,139,250,0.7);
    border-bottom: 2px solid rgba(167,139,250,0.7);
    transform: rotate(45deg);
    margin-top: 0.3rem;
    animation: bounceDown 2s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   BOTONES ÉPICOS - ANIMACIONES AVANZADAS
   ════════════════════════════════════════════════════════════════════════════ */
.btn {
    padding: 1.2rem 2.8rem;
    border: none;
    border-radius: 60px;
    font-size: 1.05rem;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

/* Efecto de brillo suave en hover */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.btn:hover::before {
    opacity: 1;
}

/* Overlay interno para efectos */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.btn:hover::after {
    opacity: 1;
}

/* ════════════════════════════════════════════════════════════════════════════
   BOTÓN PRIMARIO - GRADIENT ÉPICO
   ════════════════════════════════════════════════════════════════════════════ */
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #ec4899 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 
        0 0 25px rgba(139, 92, 246, 0.4),
        0 0 50px rgba(236, 72, 153, 0.2),
        0 8px 32px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.7),
        0 0 80px rgba(236, 72, 153, 0.4),
        0 20px 60px rgba(139, 92, 246, 0.4),
        0 0 100px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(236, 72, 153, 0.3),
        0 5px 20px rgba(139, 92, 246, 0.3);
}

/* ════════════════════════════════════════════════════════════════════════════
   BOTÓN SECUNDARIO - BORDE GLOW
   ════════════════════════════════════════════════════════════════════════════ */
.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.2),
        inset 0 0 20px rgba(139, 92, 246, 0.05);
    position: relative;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--secondary);
    color: #f0eeff;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(139, 92, 246, 0.25),
        0 15px 50px rgba(139, 92, 246, 0.3),
        inset 0 0 30px rgba(139, 92, 246, 0.1);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        0 5px 20px rgba(139, 92, 246, 0.25);
}

/* ════════════════════════════════════════════════════════════════════════════
   BOTÓN GHOST - TRANSPARENTE CON HOVER
   ════════════════════════════════════════════════════════════════════════════ */
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.1);
}

/* ════════════════════════════════════════════════════════════════════════════
   ICONOS EN BOTONES
   ════════════════════════════════════════════════════════════════════════════ */
.btn > * {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover > * {
    transform: scale(1.1);
}

/* ════════════════════════════════════════════════════════════════════════════
   RIPPLE EFFECT (generado por JS)
   ════════════════════════════════════════════════════════════════════════════ */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8), rgba(255,255,255,0));
    transform: scale(0);
    animation: ripple 0.7s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(8);
        opacity: 0;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ANIMACIONES DE ENTRADA PARA BOTONES
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes epicBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(3deg);
    }
    70% {
        transform: scale(0.95) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.cta-buttons .btn {
    animation: epicBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.cta-buttons .btn:nth-child(1) {
    animation-delay: 0.3s;
}

.cta-buttons .btn:nth-child(2) {
    animation-delay: 0.45s;
}

/* =============================================
   SECTION TITLE (compartido)
   ============================================= */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-image {
    width: 100%;
    height: 350px;
    background: #0a0a14;
    border: 2px solid var(--secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    scroll-margin-top: 0;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

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

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 14px 14px 0 0;
}

.product-image--contain {
    object-fit: contain;
    background: #111128;
    padding: 1rem;
    border-radius: 14px 14px 0 0;
    height: 200px;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: bold;
}

/* =============================================
   COMING SOON
   ============================================= */
.coming-soon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem 3rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3), inset 0 0 60px rgba(139, 92, 246, 0.1);
}

.coming-soon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.coming-soon-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(236, 72, 153, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease infinite;
    pointer-events: none;
}

.coming-soon-content {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.coming-soon-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ec4899, var(--secondary), var(--primary), #ec4899);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: gradientFlow 4s ease infinite;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    letter-spacing: 2px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.9;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.coming-soon-line {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), #ec4899);
    background-size: 200% 200%;
    border-radius: 3px;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    animation: gradientFlow 3s ease infinite;
}

/* =============================================
   MODAL
   ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid var(--secondary);
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.modal-title {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    flex: 1;
}

.modal-close {
    flex-shrink: 0;
    background: rgba(139, 92, 246, 0.15);
    border: 1.5px solid rgba(139, 92, 246, 0.5);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-close:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: var(--accent);
    color: white;
    transform: scale(1.1);
}

.modal-details {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.detail-label {
    font-weight: 600;
    color: var(--secondary);
}

.detail-value {
    color: var(--text-light);
}

.modal-image {
    width: 100%;
    height: 300px;
    background: #0f0f1e;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.modal-image.modal-image--contain img {
    object-fit: contain;
    padding: 0.5rem;
    background: #1a1a2e;
}

.modal-image.contain-mode {
    padding: 0.8rem;
    box-sizing: border-box;
}

.modal-image.contain-mode img {
    object-fit: contain;
    border-radius: 12px;
}

/* =============================================
   FILAMENTS SECTION
   ============================================= */
.filaments {
    padding: 5rem 2rem;
    scroll-margin-top: 0;
}

.filaments-container {
    max-width: 1400px;
    margin: 0 auto;
}

.filaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
@media (max-width: 600px) {
    .filaments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
    .filament-card {
        padding: 0.75rem 0.5rem !important;
    }
    .filament-color {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 0.5rem !important;
    }
    .filament-name {
        font-size: 0.82rem !important;
        margin-bottom: 0.2rem !important;
    }
    .filament-type {
        font-size: 0.72rem !important;
    }
}

.filament-card {
    background: var(--card-bg);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1), 
                box-shadow 0.3s cubic-bezier(0.23, 1, 0.320, 1),
                border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.filament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--accent);
}

.filament-color {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.filament-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.filament-type {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FILAMENTS COMING SOON */
.filaments-coming-soon {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 3px solid rgba(139, 92, 246, 0.7);
    box-shadow: 
        0 0 60px rgba(139, 92, 246, 0.5),
        0 0 100px rgba(236, 72, 153, 0.3),
        inset 0 0 50px rgba(139, 92, 246, 0.12);
    backdrop-filter: blur(10px);
}

.filaments-coming-soon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.2) 0%, transparent 60%);
    animation: none;
    pointer-events: none;
    z-index: 0;
}

.filaments-coming-soon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.12) 0%, transparent 50%);
    animation: none;
    pointer-events: none;
    z-index: 0;
}

.filaments-coming-soon-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(236, 72, 153, 0.08) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(139, 92, 246, 0.08) 50%, transparent 60%);
    animation: shimmer 6s ease infinite;
    z-index: 0;
}

.filaments-coming-soon-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: slideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filaments-coming-soon-icon {
    font-size: 3.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 50px rgba(236, 72, 153, 0.3));
    position: relative;
}

.filaments-coming-soon-icon::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent);
    border-radius: 50%;
    animation: auraGlow 4s ease-in-out infinite;
    z-index: -1;
}

.filaments-coming-soon-title {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #ff1493, #ec4899, var(--secondary), var(--primary), #00d9ff, #ec4899);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    animation: gradientFlow 8s ease infinite;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.color-palette-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.3));
}

.color-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    animation: colorBounce 1.8s ease-in-out infinite;
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.5),
        0 0 25px currentColor,
        inset -2px -2px 5px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.color-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0.3;
    z-index: 1;
}

.color-dot:nth-child(1) { animation-delay: 0s; }
.color-dot:nth-child(2) { animation-delay: 0.3s; }
.color-dot:nth-child(3) { animation-delay: 0.6s; }
.color-dot:nth-child(4) { animation-delay: 0.9s; }
.color-dot:nth-child(5) { animation-delay: 1.2s; }

.color-dot:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.6),
        0 0 40px currentColor,
        inset -2px -2px 5px rgba(0, 0, 0, 0.3);
    filter: brightness(1.25);
}

.filaments-coming-soon-text {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 0.8rem;
    line-height: 1.6;
    font-weight: 300;
    animation: fadeInUp 1.4s ease 0.2s backwards;
    letter-spacing: 0.3px;
}

.filaments-coming-soon-subtext {
    font-size: 0.9rem;
    color: #c8d6e5;
    animation: fadeInUp 1.4s ease 0.4s backwards;
    font-weight: 500;
    letter-spacing: 0.8px;
}

/* =============================================
   MACHINERY SECTION
   ============================================= */
.machinery {
    padding: 5rem 2rem;
}

.machinery-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.machine-card {
    background: var(--card-bg);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.machine-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.machine-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.machine-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.machine-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.machine-model {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.machine-specs {
    flex-grow: 1;
}

.machine-spec {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    font-size: 0.9rem;
}

.machine-spec:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 600;
}

.spec-value {
    color: var(--secondary);
    text-align: right;
}

.machine-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 0.5rem;
}

.machine-status {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.machine-placeholder {
    background: rgba(139, 92, 246, 0.1);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    display: none;
}

.machine-placeholder:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

.placeholder-text {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.placeholder-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    padding: 5rem 2rem;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcaf45);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(253, 29, 29, 0.3);
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(253, 29, 29, 0.5);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =============================================
   EDIT NOTE (placeholder para editar)
   ============================================= */
.edit-note {
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--accent);
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: none;
}

/* =============================================
   MENÚ MÓVIL - OVERLAY
   ============================================= */
.nav-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 995;
    backdrop-filter: blur(4px);
}

/* Botón cerrar dentro del panel */
.nav-close-item {
    display: none;
}

/* =============================================
   ENLACE ACTIVO EN NAVBAR
   ============================================= */
.nav-menu a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
}
@media (max-width: 768px) {
    .nav-menu a.active {
        border-bottom: none;
        border-left-color: var(--secondary) !important;
        color: #fff;
    }
}






/* =============================================
   MODAL DE PRODUCTO
   ============================================= */

.pm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 12, 0.82);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.pm-overlay.active {
    display: flex;
    animation: pmFadeIn 0.25s ease;
}
.pm-card {
    background: #0e0e1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(160,100,255,0.12);
    animation: pmSlideUp 0.3s cubic-bezier(.22,.68,0,1.1);
}
.pm-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #13131f;
}
.pm-image {
    width: 100%;
    height: 100%;
}
.pm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pm-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(14,14,26,0.7) 100%);
    pointer-events: none;
}
.pm-close {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.pm-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.pm-body { padding: 1.4rem 1.6rem 1.8rem; }
.pm-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f0eeff;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.pm-desc {
    font-size: 0.85rem;
    color: rgba(200,190,230,0.55);
    margin: 0 0 1rem;
    line-height: 1.5;
}
.pm-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(124,58,237,0.4), transparent);
    margin-bottom: 1rem;
}
.pm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}
.pm-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
}
.pm-stat-icon { font-size: 1.1rem; flex-shrink: 0; }
.pm-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(200,190,230,0.4);
    margin-bottom: 2px;
}
.pm-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2d9ff;
}
.pm-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.pm-cta:hover { opacity: 0.88; transform: translateY(-1px); }


/* =============================================
   TARJETAS DE PRODUCTO
   ============================================= */

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

.product-card {
    position: relative;
    background: #0e0e1a;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(160,100,255,0.45);
    box-shadow: 0 12px 40px rgba(130,60,255,0.2), 0 4px 16px rgba(0,0,0,0.5);
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.product-card:hover::before { opacity: 1; }

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #13131f;
}
.product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(.22,.68,0,1.1), filter 0.4s ease;
    filter: brightness(0.92);
}
.product-card:hover .product-image {
    transform: scale(1.06);
    filter: brightness(1.05);
}
.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(14,14,26,0.6) 100%);
    pointer-events: none;
}
.product-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(124,58,237,0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}
.product-card:hover .product-badge { opacity: 1; transform: translateY(0); }

.product-info {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f0eeff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.product-description {
    font-size: 0.8rem;
    color: rgba(200,190,230,0.5);
    margin-bottom: 0.3rem;
}
.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #c084fc;
    letter-spacing: -0.02em;
}

/* ════════════════════════════════════════════════════════════════════════════
   ANIMACIONES - KEYFRAMES
   ════════════════════════════════════════════════════════════════════════════ */

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes spinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatCore {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes floatBadge3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.4; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.8)); }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(100px, 100px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

@keyframes auraGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 50px rgba(139, 92, 246, 0.5); }
}

@keyframes colorBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pmSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EPIC ANIMATIONS - SHINE, GLOW & TRANSFORMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes epicGlow {
    0% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(236, 72, 153, 0.1); }
    50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 0 80px rgba(236, 72, 153, 0.3); }
    100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(236, 72, 153, 0.1); }
}

@keyframes shineWave {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(0.95); opacity: 0; }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes scaleRotate {
    0% { transform: scale(1) rotateZ(0deg); }
    50% { transform: scale(1.02) rotateZ(1deg); }
    100% { transform: scale(1) rotateZ(0deg); }
}

@keyframes epicBounceIn {
    0% { opacity: 0; transform: scale(0.3) translateY(40px); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes dropShadow {
    0% { filter: drop-shadow(0 0 0 rgba(139, 92, 246, 0)); }
    50% { filter: drop-shadow(0 15px 35px rgba(139, 92, 246, 0.4)); }
    100% { filter: drop-shadow(0 0 0 rgba(139, 92, 246, 0)); }
}

/* Apply epic animations to service cards */
.service-card {
    animation: floatUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }

/* Epic button entrance animation */
.cta-buttons .btn {
    animation: epicBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-buttons .btn:nth-child(2) { animation-delay: 0.1s; }

/* Emoji floating animation */
.service-card > div[style*="font-size"] {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(1) > div[style*="font-size"] { animation-delay: 0s; }
.service-card:nth-child(2) > div[style*="font-size"] { animation-delay: 0.3s; }
.service-card:nth-child(3) > div[style*="font-size"] { animation-delay: 0.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero section title animation */
.hero h1 {
    animation: fadeInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Section titles pulsing effect */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ec4899, transparent);
    opacity: 0.6;
    animation: widthPulse 2s ease-in-out infinite;
}

@keyframes widthPulse {
    0%, 100% { width: 40%; opacity: 0.3; }
    50% { width: 70%; opacity: 0.8; }
}

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - MEDIA QUERIES
   ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
        height: auto;
        min-height: auto;
        padding-bottom: 2rem;
        gap: 1.5rem;
        padding-left: 0.5%;
        padding-right: 0.5%;
    }
    .hero-content {
        padding: 0;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 1rem; }
    .hero p {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.9rem;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        padding: 0 !important;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    /* Forzar centrado de botones en móvil */
    .cta-buttons {
        display: flex !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.2rem;
        width: auto;
        margin: 0 auto;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    .cta-buttons .btn {
        display: inline-flex !important;
        width: auto !important;
        max-width: 90vw;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        font-weight: 600;
        margin: 0 auto !important;
    }
    .hero-stats-row { justify-content: center; }
    .hero-visual-right { margin-top: 0.5rem; }
    .hero-printer-wrap { width: 180px; height: 180px; margin: 0 auto; }
    .scroll-indicator { display: none; }
}

@media (max-width: 768px) {
    .hero {
        padding: 0;
        box-sizing: border-box;
    }
    .hero h1 { font-size: clamp(1.8rem, 5.5vw, 2.3rem); margin-bottom: 0.8rem; }
    .hero p  { 
        font-size: 0.9rem; 
        line-height: 1.4;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        padding: 0 !important;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .modal-content {
        padding: 1.2rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100vh;
        background: #0d0d1f;
        flex-direction: column;
        padding: 0;
        z-index: 999;
        overflow-y: auto;
        box-sizing: border-box;
        margin: 0;
        gap: 0;
        border-left: 2px solid rgba(139,92,246,0.4);
        box-shadow: -8px 0 40px rgba(0,0,0,0.7), -2px 0 20px rgba(139,92,246,0.2);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    }

    .nav-menu.open {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu::before {
        content: 'MENÚ';
        display: block;
        padding: 1.4rem 1.5rem 1rem;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 4px;
        color: rgba(167,139,250,0.5);
        border-bottom: 1px solid rgba(139,92,246,0.2);
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }

    .nav-menu li { width: 100%; }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: #c4b5fd;
        text-decoration: none;
        border-left: 3px solid transparent;
        border-bottom: none;
        transition: all 0.18s ease;
        position: relative;
    }

    .nav-menu a:hover,
    .nav-menu a:active {
        background: rgba(139,92,246,0.12);
        border-left-color: var(--accent);
        color: #fff;
        padding-left: 2rem;
    }

    .nav-menu li:not(:last-child) a {
        border-bottom: 1px solid rgba(139,92,246,0.08);
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1.5px solid rgba(139,92,246,0.55);
        background: rgba(139,92,246,0.12);
        position: fixed;
        top: 0.75rem;
        right: 1rem;
        z-index: 1002;
        transition: all 0.2s;
        font-size: 1.2rem;
    }

    .mobile-menu-toggle:active {
        background: rgba(139,92,246,0.3);
        transform: scale(0.92);
    }

    .about-content { flex-direction: column; }
    .about-image { height: 260px; }
    .about-image img { object-fit: contain; padding: 0.5rem; }

    .products-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .machines-grid { grid-template-columns: 1fr; }

    .section-title { font-size: 2rem; }
    .coming-soon-title { font-size: 2rem; letter-spacing: 0px; word-break: break-word; overflow-wrap: break-word; }
    .filaments-coming-soon-title { font-size: 1.8rem; }

    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    .nav-close-item {
        display: flex;
        justify-content: flex-end;
        padding: 0.8rem 1rem 0;
        width: 100%;
        border-bottom: none !important;
    }
    .nav-close-btn {
        background: rgba(139,92,246,0.2);
        border: 1.5px solid rgba(139,92,246,0.55);
        color: var(--text-light);
        font-size: 1rem;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    .nav-close-btn:hover {
        background: rgba(236,72,153,0.3);
        border-color: var(--accent);
    }
    .nav-close-item a { display: none !important; }

    .hero-stats-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .pm-card { border-radius: 14px; }
    .pm-body { padding: 1.1rem 1.2rem 1.5rem; }
    .pm-title { font-size: 1.1rem; }
    .pm-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
    .pm-stat { padding: 0.5rem 0.6rem; }
    .pm-stat-icon { font-size: 0.95rem; }
    .pm-stat-value { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    nav { padding: 0.75rem 1rem; }
    .logo { font-size: 1.5rem; }
    .hero {
        padding: 0;
        gap: 1.5rem;
        padding-top: 70px;
        padding-bottom: 1rem;
        box-sizing: border-box;
    }
    .hero-content {
        padding: 0;
        box-sizing: border-box;
    }
    .hero h1  { 
        font-size: clamp(1.6rem, 4.5vw, 2rem); 
        margin-bottom: 0.6rem;
        line-height: 1.1;
    }
    .hero p { 
        font-size: 0.85rem; 
        line-height: 1.35;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1.2rem;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    .about-image { height: 200px; }
    .about-image img { object-fit: contain; padding: 0.5rem; }
    .products-grid { grid-template-columns: 1fr; }

    .coming-soon-title { font-size: 1.7rem; letter-spacing: 0px; word-break: break-word; overflow-wrap: break-word; }
    .coming-soon-icon { font-size: 3rem; }
    .coming-soon-text { font-size: 0.95rem; }
    .filaments-coming-soon-title { font-size: 1.45rem; letter-spacing: 1px; }
    .filaments-coming-soon-icon { font-size: 2.6rem; }
    .filaments-coming-soon-text { font-size: 0.85rem; }
    .color-dot { width: 32px; height: 32px; }
    .nav-menu { width: min(280px, 90vw); }

    .pm-stats { grid-template-columns: 1fr; }
    .pm-image-wrap { aspect-ratio: 4/3; }
}
