/* ==========================================================================
   JELODA - Caja Registradora Digital para PC (p/caja-registradora/dom/index.css)
   Diseño Premium Dark Glassmorphism, Electric Purple & Indigo Theme & Bento Cards
   Clean Code — 100% Separación de Estilos
   ========================================================================== */

/* ── Base layout ── */
.product-page-wrapper.caja-page {
    padding-top: 105px !important;
    padding-bottom: 120px !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .product-page-wrapper.caja-page {
        padding-top: 85px !important;
    }
}

.relative-z { 
    position: relative; 
    z-index: 2; 
}

.product-bg-wave {
    position: absolute; 
    top: 5%; 
    right: -250px; 
    width: 800px; 
    height: auto;
    opacity: 0.22; 
    z-index: 1; 
    pointer-events: none;
    animation: cajaFloatSlow 16s infinite ease-in-out;
}
.product-bg-wave img { 
    width: 100%; 
    height: auto; 
}

.deco-shapes .shape {
    position: absolute; 
    opacity: 0.45;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deco-shapes .shape:hover { 
    opacity: 0.85; 
    transform: scale(1.15) rotate(5deg); 
}
.shape-hexa { 
    top: 14%; 
    left: 5%; 
    width: 110px; 
    animation: cajaFloatSlow 9s infinite ease-in-out; 
}
.shape-diamond { 
    bottom: 22%; 
    right: 5%; 
    width: 130px; 
    animation: cajaFloatSlow 8s infinite ease-in-out 1.5s; 
}

@keyframes cajaFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2.5deg); }
}

/* ── Badge Caja ── */
.badge-caja {
    display: inline-flex !important;
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(124, 58, 237, 0.12) 100%) !important;
    border: 1px solid rgba(167, 139, 250, 0.45) !important;
    color: #a78bfa !important;
    padding: 6px 18px !important; 
    border-radius: 50px !important;
    font-size: 0.78rem !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important; 
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 12px;
}
.badge-caja i { 
    font-size: 1.05rem; 
    margin-right: 7px; 
    color: #a78bfa;
}
.badge-caja:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28) 0%, rgba(124, 58, 237, 0.22) 100%) !important;
    border-color: rgba(167, 139, 250, 0.75) !important;
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.32) !important;
    transform: translateY(-2px);
}
.theme--light .badge-caja {
    background: #f3e8ff !important; 
    border-color: #a78bfa !important; 
    color: #6d28d9 !important; 
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.12) !important;
}

/* ── Typography & Gradients ── */
.caja-hero-title {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}
.text-caja-gradient {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}
.theme--light .text-caja-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── CTA Buttons ── */
.btn-caja-cta {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 14px 34px !important;
    font-size: 1rem !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
.btn-caja-cta:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%) !important;
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}
.btn-caja-outline {
    background: rgba(15, 23, 42, 0.6) !important;
    color: #f3e8ff !important;
    border: 1px solid rgba(167, 139, 250, 0.4) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 14px 30px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
}
.btn-caja-outline:hover {
    background: rgba(139, 92, 246, 0.15) !important;
    border-color: #c084fc !important;
    color: #c084fc !important;
    transform: translateY(-2px);
}
.theme--light .btn-caja-outline {
    background: #ffffff !important;
    color: #6d28d9 !important;
    border-color: #ddd6fe !important;
}
.theme--light .btn-caja-outline:hover {
    background: #faf5ff !important;
    border-color: #7c3aed !important;
}

/* ── Hero Stats ── */
.hero-stats-wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.stat-item-premium {
    padding: 16px 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-item-premium:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.3);
}
.theme--light .stat-item-premium {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.stat-number-premium {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
}
.stat-number-caja {
    color: #a78bfa;
}
.theme--light .stat-number-caja {
    color: #7c3aed;
}
.stat-label-premium {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}
.theme--light .stat-label-premium {
    color: #64748b;
}

/* ── Mac Window Frames ── */
.browser-mockup-wrapper {
    max-width: 960px;
}
.mac-window-frame {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.mac-window-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -12px rgba(139, 92, 246, 0.25), 0 0 0 1px rgba(167, 139, 250, 0.3);
}
.theme--light .mac-window-frame {
    background: #ffffff;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.mac-window-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.theme--light .mac-window-header {
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mac-window-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    z-index: 2;
}
.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }
.mac-window-title {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    pointer-events: none;
    letter-spacing: 0.3px;
}
.theme--light .mac-window-title {
    color: #64748b;
}
.mac-window-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Bento Showcase Grid & Cards ── */
.bento-showcase-section {
    padding-top: 40px;
    padding-bottom: 40px;
}
.bento-card-clean {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
}
.bento-card-clean:hover {
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}
.theme--light .bento-card-clean {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.theme--light .bento-card-clean:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.08);
}
.bento-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(167, 139, 250, 0.25);
}
.theme--light .bento-feature-badge {
    background: #f3e8ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}
.bento-feature-badge i {
    font-size: 0.95rem;
}
.bento-card-title {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}
.bento-card-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}
.theme--light .bento-card-text {
    color: #64748b;
}
.bento-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.bento-check-list li {
    font-size: 0.88rem;
    color: #cbd5e1;
    padding: 5px 0;
    display: flex;
    align-items: center;
}
.theme--light .bento-check-list li {
    color: #334155;
}
.bento-check-list li i {
    color: #a78bfa;
    font-size: 1.1rem;
    margin-right: 8px;
    flex-shrink: 0;
}
.theme--light .bento-check-list li i {
    color: #7c3aed;
}

/* ── Direct Answer AEO Box ── */
.aeo-direct-answer-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-left: 4px solid #a78bfa;
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 20px 0 30px 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #e2e8f0;
}
.theme--light .aeo-direct-answer-box {
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
    border-left-color: #7c3aed;
    color: #1e293b;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.06);
}

/* ── Pricing Section ── */
.pricing-card-caja {
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(167, 139, 250, 0.35);
    border-radius: 24px;
    padding: 44px 36px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
}
.theme--light .pricing-card-caja {
    background: #ffffff;
    border-color: #ddd6fe;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.08);
}
.pricing-card-caja::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.pricing-badge-popular {
    position: absolute;
    top: 18px;
    right: 22px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
}
.price-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #a78bfa;
    line-height: 1;
}
.theme--light .price-amount {
    color: #7c3aed;
}
.price-period {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ── FAQ Section Accordion ── */
.faq-accordion-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.theme--light .faq-accordion-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.faq-accordion-header {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #e2e8f0;
}
.theme--light .faq-accordion-header {
    color: #0f172a;
}
.faq-accordion-body {
    padding: 0 22px 18px 22px;
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.94rem;
}
.theme--light .faq-accordion-body {
    color: #475569;
}
